<template>
    <div>
        <!-- <h1>list</h1> -->
        <!-- <ItemCom></ItemCom> -->
        <item-com v-for="(item,index) in todoList" :key="index" :item="item" :del="del" :index="index" :changeFlag="changeFlag">
            
        </item-com>
    </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue';
import ItemCom from './ItemCom.vue';

export default defineComponent({
    setup() {
        return {};
    },
    components: { ItemCom },
    props:['todoList','del','changeFlag'],
});
</script>

<style scoped>

</style>